/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package jacidco;

import java.io.Serializable;
import javax.persistence.Basic;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.NamedQueries;
import javax.persistence.NamedQuery;
import javax.persistence.Table;
import javax.xml.bind.annotation.XmlRootElement;

/**
 *
 * @author Sefer Sephirott
 */
@Entity
@Table(name = "consultaxnivel")
@XmlRootElement
@NamedQueries({
    @NamedQuery(name = "Consultaxnivel.findAll", query = "SELECT c FROM Consultaxnivel c"),
    @NamedQuery(name = "Consultaxnivel.findByPrimerNombre", query = "SELECT c FROM Consultaxnivel c WHERE c.primerNombre = :primerNombre"),
    @NamedQuery(name = "Consultaxnivel.findByPrimerApellido", query = "SELECT c FROM Consultaxnivel c WHERE c.primerApellido = :primerApellido"),
    @NamedQuery(name = "Consultaxnivel.findByCodJava", query = "SELECT c FROM Consultaxnivel c WHERE c.codJava = :codJava")})
    
    public class Consultaxnivel implements Serializable 
    {
    private static final long serialVersionUID = 1L;
    @Basic(optional = false)
    @Column(name = "primer_nombre")
    private String primerNombre;
    @Basic(optional = false)
    @Column(name = "primer_apellido")
    private String primerApellido;
    @Basic(optional = false)
    @Column(name = "cod_java")
    @Id
    private String codJava;

    public Consultaxnivel() {
    }

    public String getPrimerNombre() {
        return primerNombre;
    }

    public void setPrimerNombre(String primerNombre) {
        this.primerNombre = primerNombre;
    }

    public String getPrimerApellido() {
        return primerApellido;
    }

    public void setPrimerApellido(String primerApellido) {
        this.primerApellido = primerApellido;
    }

    public String getCodJava() {
        return codJava;
    }

    public void setCodJava(String codJava) {
        this.codJava = codJava;
    }
    
}
